package com.iamback.dy.mapper;

import java.util.List;
import java.util.Map;

import com.iamback.dy.entity.AgainContentExamineView;
import com.iamback.dy.entity.ContentExuser;
import com.iamback.dy.entity.DyContexts;
import com.iamback.dy.entity.ExContentView;

public interface ContentExuserMapper {

	/**
	 * app 用户获取审核列表 
	 * @param map
	 * @return
	 */
	List<DyContexts> findContentExuserByDyId(Map<String, Object> map);
	
	List<ExContentView> findContentExuserByUserId(Map<String, Object> map);
	Integer findContentExuserByUserIdCount(Map<String, Object> map);
	
	
	 List<ContentExuser> findByBlocked(ContentExuser contentExuser);
	
	 List<ContentExuser> findContentExuserBy(Map<String, Object> map); 
	 void inserContentExuser(List<ContentExuser> contentExusers);
	 void updateContentExuserBysyn(ContentExuser contentExuser);
	 void updateContentExuserAllot(ContentExuser contentExuser); 
	 ContentExuser findContentExuserById(Long id);

	 void updateContentExuser(ContentExuser dbContentExuser);

	 ContentExuser findByDyId(ContentExuser contentExuser);

	 List<ContentExuser> findByPublisherDyIdList(ContentExuser contentExuserDyId);

	 void updateContentExuserBlocked(ContentExuser contentExuser);

	 List<AgainContentExamineView> findAgainContentExamineByPage(Map<String, Object> map);
	 Integer findAgainContentExamineByPageCount(Map<String, Object> map);

	
}
